import {get, postWithJson} from "@/api/requests";

/**
 * 系统设定云打印机参数配置
 * @param params
 * @returns {Promise<*>}
 */
export async function fetch(params) {
    return get('print/fetch', params);
}
export async function add(params) {
    return postWithJson('print/add', params);
}

export async function setPrinter(params) {
    return postWithJson('print/setPrinter', params);
}